package com.yuwenchao.superafflatus.mapper;

import com.yuwenchao.superafflatus.pojo.entity.SuperLoginRole;
import com.yuwenchao.superafflatus.pojo.entity.SuperLoginRoleUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ChaooGG
 * @since 2021-05-31
 */
@Repository
public interface SuperLoginRoleUserMapper extends BaseMapper<SuperLoginRoleUser> {

    List<SuperLoginRole> selectRoleByUserId(Integer id);

    void saveRoleUser(Integer uid);

    void saveSuperRoleUser(Integer uid);



}
